
<div class="panel panel-success">  
    <div class="modal-header panel-heading"  align="center">  
        <h3 class="modal-title" id="updateModelLabel">更新菜品</h3>
    </div>  
    <div class="modal-body panel-body">
                        <form class="form-horizontal " id="updateFoodForm" >
                            <div class="form-group ">
                                <label class="col-md-3 control-label">菜&nbsp; &nbsp; &nbsp;  &nbsp;名</label>
                                <div class="col-md-8 ">
                                    <input type="text" id="foodName2" name="name" autocomplete="off" ng-model="food.name" required>
                                </div>
                            </div>
                            <div class="form-group ">
                                <label class="col-md-3 control-label">类&nbsp; &nbsp; &nbsp;  &nbsp;型 </label>
                                <div class="col-md-8">
                                    <select class="form-control" name="type"  ng-model="food.type" required>
                                            <option value="酒水">酒水</option>
                                            <option value="小吃">小吃</option>
                                            <option value="主食">主食</option>
                                            <option value="套餐">套餐</option>
                                </select>
                                </div>
                            </div>
                            <div class="form-group ">
                                <label class="col-md-3 control-label">价&nbsp; &nbsp; &nbsp;  &nbsp;格 </label>
                                <div class="col-md-8">
                                    <input type="number" class="form-control" id="price" name="price" autocomplete="off" ng-model="food.price"required>
                                </div>

                            </div>
                            <div class="form-group ">
                                <label class="col-md-3 control-label">照&nbsp; &nbsp; &nbsp;  &nbsp;片 </label>
                                <div class="col-md-8">
                                    <input type="file" name="image" id="updateImage" data-container="body">
                                </div>
                            </div>
                        </form>
    </div>  
    <div class="modal-footer panel-heading"> 
            <div class="col-md-offset-4 col-md-1 ">
                    <button class="btn btn-primary" ng-click="ok()">更新</button>
                </div>
                <div class="col-md-offset-2 col-md-1 ">
                        <button class="btn btn-warning" ng-click="cancel()">取消</button> 
                </div>            
    </div>
</div>